package org.wzl.todolisthelper.enumerate;

import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.List;

@Getter
@AllArgsConstructor
public enum NormalTaskStatusEnum {

    DOING("1", "进行中"),
    FINISH("2", "已完成"),
    DELAY("3", "已延期");

    private final String code;
    private final String desc;

    public static List<String> getAvailableStatus() {
        return List.of(DOING.code, DELAY.code);
    }

}
